﻿@namespace Project.Web.Shared.Components
@using System.Diagnostics.CodeAnalysis
<link href="@VersionHref" rel="@Rel" />
@code {
    [Parameter, NotNull] public string? Href { get; set; }
    [Inject, NotNull] IFileService? FileService{ get; set; }
    [Parameter] public string Rel { get; set; } = "stylesheet";
    string VersionHref => FileService.GetStaticFileWithVersion(Href);
}
